<script type="text/javascript" src="/My97DatePicker/WdatePicker.js"></script>

<div class="span10" id="datacontent">
    <ul class="breadcrumb">
        <li><a href="/weixin/product/index">微信399</a> <span class="divider">/</span></li>
        <li class="active">产品列表</li>
    </ul>
    <ul class="nav nav-tabs">
        <li class="active">
            <a href="javascript:;" onclick="javascript:openall();">产品列表</a>
        </li>
        <li class="dropdown pull-right">
            <a class="dropdown-toggle" href="/weixin/product/add">添加内容</a>
        </li>
    </ul>

    <form action="" id="checkPush" method="post">
        <table class="table table-hover">
            <thead>
            <tr>
                <th width="80">编号</th>
                <th>名称</th>
                <th>科目</th>
                <th>价格</th>
                <th>老师直播流</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <?php
            foreach($data as $v) {
                ?>
                <tr>
                    <td><?php echo $v['id']?></td>
                    <td><?php echo $v['name']?></td>
                    <td><?php echo $v['section']?></td>
                    <td><?php echo $v['price']?></td>
                    <td><?php echo $v['pushUrl']?></td>
                    <td> <button  id="login-button"><a class="link-update" href="/weixin/product/update?id=<?php echo $v['id']?>">修改</a></button>  <button  id="login-button"><a class="link-update" href="/weixin/product/class?id=<?php echo $v['id']?>">课表</a></button></td>
                </tr>
                <?php
            }
            ?>
            </tbody>
        </table>
    </form>
    <div class="pagination pagination-right">
<!--        --><?php //use yii\widgets\LinkPager;?>
<!--        --><?php //echo LinkPager::widget([
//            'pagination' => $page,
//        ])?>
    </div>
</div>

